#include "Vertex.h"

Vertex::Vertex(SpatialCoordinate spatialCoordinate, Texture texture, Normal normal) {
	this->spatialCoordinate = spatialCoordinate;
	this->texture = texture;
	this->normal = normal;
}
// getters and setters
SpatialCoordinate Vertex::getSpatialCoordinate(){
	return spatialCoordinate;
}
void Vertex::setSpatialCoordinate(SpatialCoordinate coord) {
	spatialCoordinate = coord;
}
Texture Vertex::getTexture(){
	return texture;
}
void Vertex::setTexture(Texture tex) {
	texture = tex;
}
Normal Vertex::getNormal() {
	return normal;
}
void Vertex::setNormal(Normal norm) {
	normal = norm;
}